﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

using SmartSiteManagementSystem.Models.Admin;

namespace SmartSiteManagementSystem.IRepository.Admin
{
    public interface IAdminUserGroupMenuInfoRepository
    {
        /// <summary>
        /// 提取数据
        /// </summary>
        /// <param name="param">可选参数为：</param>
        /// <param name="orderBy">排序方式:默认为“AdminUserGroupMenuId asc”</param>
        /// <param name="first">起始记录：从0开始</param>
        /// <param name="rows">提取的条数</param>
        /// <returns></returns>
        IList<AdminUserGroupMenuInfo> GetList(Hashtable param, string orderBy, int first, int rows);

        /// <summary>
        /// UpdateGroupMenu事务操作
        /// </summary>
        /// <param name="adminUserGroupId"></param>
        /// <param name="param"></param>
        /// <param name="maugmList"></param>
        /// <param name="mgbrList"></param>
        /// <returns></returns>
        void UpdateGroupMenu(int adminUserGroupId, IList<AdminUserGroupMenuInfo> maugmList, IList<AdminGroupBtnRelInfo> mgbrList);

    }
}
